package com.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 中国地区信息
 * </p>
 *
 * @author fire
 * @since 2020-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "Area对象", description = "中国地区信息")
public class Area implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    @TableId(value = "CRI_ID", type = IdType.AUTO)
    private Integer criId;

    @ApiModelProperty(value = "代码")
    @TableField("CRI_CODE")
    private String criCode;

    @ApiModelProperty(value = "名称")
    @TableField("CRI_NAME")
    private String criName;

    @ApiModelProperty(value = "简称")
    @TableField("CRI_SHORT_NAME")
    private String criShortName;

    @ApiModelProperty(value = "上级代码")
    @TableField("CRI_SUPERIOR_CODE")
    private String criSuperiorCode;

    @ApiModelProperty(value = "经度")
    @TableField("CRI_LNG")
    private String criLng;

    @ApiModelProperty(value = "纬度")
    @TableField("CRI_LAT")
    private String criLat;

    @ApiModelProperty(value = "排序")
    @TableField("CRI_SORT")
    private Integer criSort;

    @ApiModelProperty(value = "创建时间")
    @TableField("CRI_GMT_CREATE")
    private Date criGmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField("CRI_GMT_MODIFIED")
    private Date criGmtModified;

    @ApiModelProperty(value = "备注")
    @TableField("CRI_MEMO")
    private String criMemo;

    @ApiModelProperty(value = "状态")
    @TableField("CRI_DATA_STATE")
    private Integer criDataState;

    @ApiModelProperty(value = "租户ID")
    @TableField("CRI_TENANT_CODE")
    private String criTenantCode;

    @ApiModelProperty(value = "级别")
    @TableField("CRI_LEVEL")
    private String criLevel;


}
